Files located under `examples` are example uses of the functionality provided by
the library. When compiled, they are placed in the `target/examples` directory.
-They may compile either as executables (with a `main()` function) or as libraries.
-They load in the library by using `extern crate <library-name>`. They are compiled when you run
+They can compile either as executables (with a `main()` function) or libraries and pull in the library by using `extern crate <library-name>`. They are compiled when you run
your tests to protect them from bitrotting.
You can run individual executable examples with the command `cargo run --example
Specify `crate-type` to make an example be compiled as a library:
```toml
-[[example.example]]
+[[example.foo]]
crate-type = ["staticlib"]
```